import { Component, Vue } from "vue-property-decorator";
import { Getter, Action } from "vuex-class";
import { IndexData } from '@/types/views/index.interface';
// import {  } from "@/components" // 组件

@Component({})
export default class About extends Vue {
  // Getter
  // @Getter author

  // Action
  @Action GET_DATA_ASYN

  // data
  data: IndexData = {
    pageName: 'index'
  };
  onClick(): void {
   console.log('23132');
  }
  created() {
    this.GET_DATA_ASYN();
  }

  activated() {
    console.log('1');
  }

  mounted() {
    //
  }

  // 初始化函数
  init() {
    console.log('2');
  }

}
